package com.scs.application.modules.device.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 *  设备台账实体类
 */
@Data
@Accessors(chain = true)
@TableName("device_ledger")
public class DeviceLedger extends DataEntity {
    //设备名称
    private String deviceName;

    //设备编码
    private String deviceCode;

    //规格型号
    private String deviceSpec;

    //单位
    private String deviceUnit;

    //单价
    private Double devicePrice;

    //出厂日期
    private Date deviceMfgDate;

    //标签码
    private String deviceSn;

    //寿命年限
    private String deviceLife;

    //是否进口
    private Boolean flagImport;

    //默认供应商ID
    private String supplierId;

    //默认供应商ID
    private String supplierName;

    //厂商ID
    private String mfgId;

    //厂商名称
    private String mfgName;

    //采购单编码
    private String poCode;

    //采购合同编码
    private String contractCode;

    //维保合同编码
    private String repairContractCode;

    //管理科室id
    private String deptIdManage;

    //管理科室名称
    private String deptNameManage;

    //所属科室Id
    private String deptIdOwner;

    //所属科室名称
    private String deptNameOwner;

    //使用科室id
    private String deptIdUse;

    //使用科室名称
    private String deptNameUse;

    //设备状态
    private String deviceStatus;

    //设备分类Id
    private String categoryId;

    //设备分类名称
    private String categoryName;

    //是否锁定
    private Boolean flagLock;

    //锁定信息
    private String lockInfo;

    // 月折旧率，百分比
    private Double deviceDepreciation;

    //品牌
    private String deviceBrand;

    //验收人
    private String personAccept;

    //供应商联系电话
    private String supplierPhone;

    //启用日期
    private Date deviceEnableDate;

    //验收日期
    private Date deviceAcceptDate;

    //维修公司
    private String repairCompany;

    //维修公司电话
    private String repairCompanyPhone;

    //维修日期
    private String repairDate;

    //是否保修中
    private Boolean flagWarranty;

    //保修截止时间
    private Date warrantyDateEnd;

    //原设备编码
    private String codeOriginal;

}